package com.javakc.pms.orderManagement.client;

import com.javakc.commonutils.api.R;
import com.javakc.pms.orderManagement.entiy.OrderManagement;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "service-mes",fallback = MesDegradeClinet.class)
@Component
public interface MesClient {

    @PostMapping("mes/ordermanagement/saveRelease")
    public R saveRelease(@RequestBody OrderManagement orderManagement);
}
